/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="DETALHESFATURMEDICTOS")
public class DetalhesFaturMedictosProteu implements Serializable{

    @Id
    @Column(name="DFM_IN_CODIGO")
    private Integer dfmInCodigo;
    @Id
    @Column(name="DFM_IN_COD_MEDICTO")
    private Integer dfmInCodMedicto;

    @Column(name="PAC_ST_CODIGO")
    private String pacStCodigo;
    @Column(name="PAC_ST_RG")
    private String pacStRG;
    @Column(name="AGD_DT_CONSULTA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date agdDtConsulta;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="DFM_ST_CID")
    private String dfmStCid;
    @Column(name="PAF_ST_NUM_GUIA_SADT")
    private String pafStNumGuiaSADT;
    @Column(name="DFM_ST_NUM_GUIA_REFER")
    private String dfmStNumGuiaRefer;
    @Column(name="DFM_IN_COD_DESPESA")
    private Integer dfmInCodDespesa;
    @Column(name="DFM_DT_INFUSAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dfmDtInfusao;
    @Column(name="DFM_ST_HORA_INICIAL")
    private String dfmStHoraInicial;
    @Column(name="DFM_ST_HORA_FINAL")
    private String dfmStHoraFinal;
    @Column(name="DFM_ST_TABELA")
    private String dfmStTabela;
    @Column(name="DFM_COD_MED_TISS")
    private String dfmCodMedTiss;
    @Column(name="DFM_FL_QTDE")
    private Float dfmFlQtde;
    @Column(name="DFM_FL_PERC_ACRESC")
    private Float dfmFlPercAcresc;
    @Column(name="DFM_FL_PERC_DESC")
    private Float dfmFlPercDesc;
    @Column(name="DFM_FL_VLR_UNITARIO")
    private Float dfmFlVlrUnitario;
    @Column(name="DFM_FL_VLR_TOTAL")
    private Float dfmFlVlrTotal;
    @Column(name="DFM_ST_DESCRICAO")
    private String dfmStDescricao;
    @Column(name="UNM_ST_CODIGO")
    private String unmStCodigo;
    @Column(name="DFM_DT_ALTERACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dfmDtAlteracao;
    @Column(name="USU_IN_CODIGO")
    private Integer usuInCodigo;


    public Date getAgdDtConsulta() {
        return agdDtConsulta;
    }

    public void setAgdDtConsulta(Date agdDtConsulta) {
        this.agdDtConsulta = agdDtConsulta;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public String getDfmCodMedTiss() {
        return dfmCodMedTiss;
    }

    public void setDfmCodMedTiss(String dfmCodMedTiss) {
        this.dfmCodMedTiss = dfmCodMedTiss;
    }

    public Date getDfmDtAlteracao() {
        return dfmDtAlteracao;
    }

    public void setDfmDtAlteracao(Date dfmDtAlteracao) {
        this.dfmDtAlteracao = dfmDtAlteracao;
    }

    public Date getDfmDtInfusao() {
        return dfmDtInfusao;
    }

    public void setDfmDtInfusao(Date dfmDtInfusao) {
        this.dfmDtInfusao = dfmDtInfusao;
    }

    public Float getDfmFlPercAcresc() {
        return dfmFlPercAcresc;
    }

    public void setDfmFlPercAcresc(Float dfmFlPercAcresc) {
        this.dfmFlPercAcresc = dfmFlPercAcresc;
    }

    public Float getDfmFlPercDesc() {
        return dfmFlPercDesc;
    }

    public void setDfmFlPercDesc(Float dfmFlPercDesc) {
        this.dfmFlPercDesc = dfmFlPercDesc;
    }

    public Float getDfmFlQtde() {
        return dfmFlQtde;
    }

    public void setDfmFlQtde(Float dfmFlQtde) {
        this.dfmFlQtde = dfmFlQtde;
    }

    public Float getDfmFlVlrTotal() {
        return dfmFlVlrTotal;
    }

    public void setDfmFlVlrTotal(Float dfmFlVlrTotal) {
        this.dfmFlVlrTotal = dfmFlVlrTotal;
    }

    public Float getDfmFlVlrUnitario() {
        return dfmFlVlrUnitario;
    }

    public void setDfmFlVlrUnitario(Float dfmFlVlrUnitario) {
        this.dfmFlVlrUnitario = dfmFlVlrUnitario;
    }

    public Integer getDfmInCodDespesa() {
        return dfmInCodDespesa;
    }

    public void setDfmInCodDespesa(Integer dfmInCodDespesa) {
        this.dfmInCodDespesa = dfmInCodDespesa;
    }

    public Integer getDfmInCodMedicto() {
        return dfmInCodMedicto;
    }

    public void setDfmInCodMedicto(Integer dfmInCodMedicto) {
        this.dfmInCodMedicto = dfmInCodMedicto;
    }

    public Integer getDfmInCodigo() {
        return dfmInCodigo;
    }

    public void setDfmInCodigo(Integer dfmInCodigo) {
        this.dfmInCodigo = dfmInCodigo;
    }

    public String getDfmStCid() {
        return dfmStCid;
    }

    public void setDfmStCid(String dfmStCid) {
        this.dfmStCid = dfmStCid;
    }

    public String getDfmStDescricao() {
        return dfmStDescricao;
    }

    public void setDfmStDescricao(String dfmStDescricao) {
        this.dfmStDescricao = dfmStDescricao;
    }

    public String getDfmStHoraFinal() {
        return dfmStHoraFinal;
    }

    public void setDfmStHoraFinal(String dfmStHoraFinal) {
        this.dfmStHoraFinal = dfmStHoraFinal;
    }

    public String getDfmStHoraInicial() {
        return dfmStHoraInicial;
    }

    public void setDfmStHoraInicial(String dfmStHoraInicial) {
        this.dfmStHoraInicial = dfmStHoraInicial;
    }

    public String getDfmStNumGuiaRefer() {
        return dfmStNumGuiaRefer;
    }

    public void setDfmStNumGuiaRefer(String dfmStNumGuiaRefer) {
        this.dfmStNumGuiaRefer = dfmStNumGuiaRefer;
    }


    public String getDfmStTabela() {
        return dfmStTabela;
    }

    public void setDfmStTabela(String dfmStTabela) {
        this.dfmStTabela = dfmStTabela;
    }

    public String getPacStCodigo() {
        return pacStCodigo;
    }

    public void setPacStCodigo(String pacStCodigo) {
        this.pacStCodigo = pacStCodigo;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    public String getPafStNumGuiaSADT() {
        return pafStNumGuiaSADT;
    }

    public void setPafStNumGuiaSADT(String pafStNumGuiaSADT) {
        this.pafStNumGuiaSADT = pafStNumGuiaSADT;
    }

    public String getUnmStCodigo() {
        return unmStCodigo;
    }

    public void setUnmStCodigo(String unmStCodigo) {
        this.unmStCodigo = unmStCodigo;
    }

    public Integer getUsuInCodigo() {
        return usuInCodigo;
    }

    public void setUsuInCodigo(Integer usuInCodigo) {
        this.usuInCodigo = usuInCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final DetalhesFaturMedictosProteu other = (DetalhesFaturMedictosProteu) obj;
        if (this.dfmInCodigo != other.dfmInCodigo && (this.dfmInCodigo == null || !this.dfmInCodigo.equals(other.dfmInCodigo))) {
            return false;
        }
        if (this.dfmInCodMedicto != other.dfmInCodMedicto && (this.dfmInCodMedicto == null || !this.dfmInCodMedicto.equals(other.dfmInCodMedicto))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 19 * hash + (this.dfmInCodigo != null ? this.dfmInCodigo.hashCode() : 0);
        hash = 19 * hash + (this.dfmInCodMedicto != null ? this.dfmInCodMedicto.hashCode() : 0);
        return hash;
    }



}
